package com.market.dao;

import java.util.List;

import com.market.domain.Product;
import com.market.domain.ProductTheme;

public interface ProductThemeDao extends GenericDao<ProductTheme, Long> {
	/**
	 * This method load all products of specific theme
	 * @param theme
	 * @return
	 */
	public List<Product> findProducts(ProductTheme theme);
	
	
	/**
	 * This method load all active product theme from database
	 * @return
	 */
	public List<ProductTheme> findActiveProductThemes();
}
